﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;

namespace LeEdu.MODEL
{
    [DisplayName("试题表")]
  public  class Quetion
  {
      [DisplayName("ID")]
        public int QuetionId { get; set; }
      [DisplayName("试题类型,0选择，1填空，2判断，3问答，4材料")]
      public int QType { get; set; }
      [DisplayName("课程外键")]
      public int CoursesId { get; set; }
      public virtual Courses course { set; get; }
      [DisplayName("难度")]
      public int  QDificulty { get; set; }
      [DisplayName("题目标题")]

      public string QTitle { get; set; }
      [DisplayName("选项 ABCD")]

      public string  QA { get; set; }
      public string QB { get; set; }
      public string QC { get; set; }
      public string QD { get; set; }
      [DisplayName("正确答案")]
      public string  QAnswerTrue { get; set; }
      [DisplayName("不定项，0是，1否")]
      public Nullable<int> QMultiple { get; set; }

      [DisplayName("判断题答案，0是1否")]
      public Nullable<int> QKey { get; set; }
     
      [DisplayName("简答题答案")]
      public string QAnswer { get; set; }

      [DisplayName("更新时间")]
      public DateTime  QTime { get; set; }
    }
}
